/*
 * @Author: xyq
 * @Date: 2021-02-02 17:29:04
 * @LastEditors: xyq
 * @LastEditTime: 2021-02-26 10:29:11
 * @FilePath: \little-eight\src\router\index.js
 */

import Login from '../pages/login/login';
import Main from '../pages/Main/index';
let Routing = [
  {
    path: '/',
    name: 'Login',
    redirect: '/Login',
    meta: { require: false },
  },
  {
    path: '/Login',
    name: 'Login',
    component: Login,
    meta: { require: false },
  },
  {
    path: '/Main/Home',
    name: '首页',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/System/personManage',
    name: '人员管理',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/System/menuManage',
    name: '菜单管理',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/System/departmentManage',
    name: '部门管理',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/Project/projectList',
    name: '项目列表',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/Project/projectStatements',
    name: '项目对账单',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/MoneyManage/approveList',
    name: '审批列表',
    component: Main,
    meta: { require: true },
  },
  {
    path: '/Main/MoneyManage/approveDetail',
    name: '审批详情',
    component: Main,
    meta: { require: true },
  },
];

export default Routing;
